package com.ruoyi.business.goods.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.business.base.JoBaseService;
import com.ruoyi.business.base.PageParam;
import com.ruoyi.business.goods.domain.JbCommodity;
import com.ruoyi.business.goods.domain.vo.JbCommodityVo;
import com.ruoyi.business.goods.domain.vo.JbProductVO;

import java.util.List;

/**
 * 商品Service接口
 *
 * @author ruoyi
 * @date 2024-10-11
 */
public interface JbCommodityService extends JoBaseService<JbCommodity>
{
    List<JbCommodity> selectCommodityList(List<Long> ids);

    List<JbCommodityVo> listNameAll(JbCommodity jbCommodity);

    IPage<JbProductVO> pageCommodityProduct(PageParam pageParam, JbProductVO JbProductVO, JSONObject jsonObject);

    IPage<JbProductVO> findInventory(PageParam pageParam, JbProductVO JbProductVO);
}
